package com.feiyue.learning.sort;

import java.util.Arrays;

/**
 * 基数排序
 * @author  feiyue
 * @date  2020/3/29
 */
public class BaseDataSort {

    public static void main(String[] args) {

        // 假设数据都是 3 位以下
        int[] data = new int[]{2, 13, 25, 24, 11, 56, 15, 111};

        System.out.print("排序前: ");
        Arrays.stream(data).forEach(r->System.out.print(r + " "));

        baseDataSort(data);

        System.out.print("\n排序后: ");
        Arrays.stream(data).forEach(r->System.out.print(r + " "));
    }

    // 低位优先
    private static void baseDataSort(int[] data) {

    }
}
